On Generic Context Lemmas for Lambda Calculi with Sharing
نویسندگان
چکیده
This paper proves several generic variants of context lemmas and thus contributes to improving the tools for observational semantics of deterministic and non-deterministic higher-order calculi that use a small-step reduction semantics. The generic (sharing) context lemmas are provided for mayas well as two variants of must-convergence, which hold in a broad class of extended processand extended lambda calculi, if the calculi satisfy certain natural conditions. As a guide-line, the proofs of the context lemmas are valid in call-by-need calculi, in callby-value calculi if substitution is restricted to variable-by-variable and in process calculi like variants of the π-calculus. For calculi employing beta-reduction using a call-by-name or call-by-value strategy or similar reduction rules, some iu-variants of ciu-theorems are obtained from our context lemmas. Our results reestablish several context lemmas already proved in the literature, and also provide some new context lemmas as well as some new variants of the ciu-theorem. To make the results widely applicable, we use a higher-order abstract syntax that allows untyped calculi as well as certain simple typing schemes. The approach may lead to a unifying view of higher-order calculi, reduction, and observational
منابع مشابه
On the Power of Simple Diagrams
In this paper we focus on a set of abstract lemmas that are easy to apply and turn out to be quite valuable in order to establish confluence and/or normalization modularly, especially when adding rewriting rules for extensional equalities to various calculi. We show the usefulness of the lemmas by applying them to various systems, ranging from simply typed lambda calculus to higher order lambda...
متن کاملRecursion from Cyclic Sharing: Traced Monoidal Categories and Models of Cyclic Lambda Calculi
Cyclic sharing (cyclic graph rewriting) has been used as a practical technique for implementing recursive computation eeciently. To capture its semantic nature, we introduce categorical models for lambda calculi with cyclic sharing (cyclic lambda graphs), using notions of computation by Moggi / Power and Robinson and traced monoidal categories by Joyal, Street and Verity. The former is used for...
متن کاملAutosubst: Automation for de Bruijn Substitutions
Formalizing syntactic theories with variable binders is not easy. We present Autosubst [1], a library for the Coq proof assistant to automate this process. Given an inductive definition of syntactic objects in de Bruijn [7] representation augmented with binding annotations, Autosubst synthesizes the substitution operations and automatically proves the basic lemmas about substitutions. Our core ...
متن کاملConfluence of Pattern-Based Calculi
Different pattern calculi integrate the functional mechanisms from the λ-calculus and the matching capabilities from rewriting. Several approaches are used to obtain the confluence but in practice the proof methods share the same structure and each variation on the way patternabstractions are applied needs another proof of confluence. We propose here a generic confluence proof where the way pat...
متن کاملA Framework for Defining Object-Calculi
In this paper, we give a general framework for the foundation of an operational (small step) semantics of object-based languages with an emphasis on functional and imperative issues. The framework allows classifying very naturally many object-based calculi according to their main implementation techniques of inheritance, namely delegation and embedding, and their particular strategies. This dis...
متن کامل